package com.mentalsurvey.service;

import com.mentalsurvey.dto.QuestionBatchCreateDTO;
import com.mentalsurvey.dto.QuestionSimpleDTO;
import com.mentalsurvey.entity.Question;

import java.util.List;

/**
 * @author vito
 * @version 1.0
 */

public interface QuestionService {
    /// 批量创建题目
    void batchCreate(QuestionBatchCreateDTO dto);

    /// 根据试卷ID查询题目列表
    List<Question> getQuestionsByPaperId(Integer paperId);
}
